package com.david.vo;

import lombok.Data;
import javax.validation.constraints.NotEmpty;

/**
 * @author David
 */
@Data
public class UserBean {

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "请选择账户的使用权限")
    private String userface;

    @NotEmpty(message = "每个人都需要有自己的信仰！")
    private String remark;

    private String enabled;

}
